class NUMERIC_MAT{ET<$NUMBER{ET},VT<$VEC{ET,VT}} < $MAT{ET,VT,NUMERIC_MAT{ET,VT}}
****
Functions that don't work on complex numbers but do work on reals


Flattened version is here

Ancestors
$MAT{_,_,_} MAT{_,_} AREF{_}

Descendants
MATD MAT



Public


Features
destructive_det: ET
**** Destructive determinant of self. Similar to the Gaussian algorithm. The Gaussian algorithm is from Sedgewick: "Algorithms", pp 57-65.
destructive_gauss(x:VT)
**** Solve linear equations. Result in x. self is changed. Raise "Division by Zero" for singular matrices. This algorithm is from Sedgewick: "Algorithms", pp 57-65.
destructive_invert: SAME
**** Destructive invert self, return a new matrix. Similar to the Gaussian algorithm. Raise "Division by Zero" for singular matrices. The Gaussian algorithm is from Sedgewick: "Algorithms", pp 57-65.
det: ET
**** Non destructive determinant routine
gauss(x:VT):VT
**** Non destructive gaussian routine
invert: SAME
**** Non-destructive inversion

Iters


Private


The Sather Home Page